# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlavu
pkgver=0_git20201101
_commit="665d39e70c16521cb6f883f25b8c5c4eeb863d44"
pkgrel=1
pkgdesc="PipeWire VU-meter for Wayland"
url="https://git.sr.ht/~kennylevinsen/wlavu"
license="MIT"
arch="all !s390x" # limited by pipewire
options="!check" # no test suite
makedepends="
	meson
	wayland-dev
	wayland-protocols
	pipewire-dev
	"
source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~kennylevinsen/wlavu/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="20597dbbb9b764ebab832130e809a77b8210242bc63cf8af7659bf0e8b2bba948509b432d70abbfccdd73d655157d8d65e3041aeebe318db36fac1ce958854d9  wlavu-665d39e70c16521cb6f883f25b8c5c4eeb863d44.tar.gz"
